package com.google.code.p.restrpc.core.async.impl;

import java.util.Properties;

/**
 * @author dz
 */
public class AsyncServiceQueueOptions {
    
    public static final String ASYNC_SERVICE_WORKER = "async.service.worker";
    
    private Properties properties;
    
    public AsyncServiceQueueOptions(Properties properties) {
        this.properties = properties;
    }
    
    public int getCoreWorker() {
        return 2;
    }
    
    public int getMaxWorker() {
        return 2;
    }
    
    public int getMaxSize() {
        return 10000;
    }
    
}
